﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="GenerateBillData.aspx.cs" Inherits="Billing2.GenerateBillData" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Src="~/Controls/ucHighlight.ascx" TagName="ucHighlight" TagPrefix="uc3" %>
<%@ Register Src="~/Controls/ucPageTitle.ascx" TagName="ucPageTitle" TagPrefix="uc4" %>
<%@ Register Src="~/Controls/ucInProgress.ascx" TagName="ucInProgress" TagPrefix="uc5" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:UpdatePanel runat="server" ID="updatePanel1">
        <ContentTemplate>
            <uc3:ucHighlight ID="ucHighlight1" runat="server" />
        </ContentTemplate>
    </asp:UpdatePanel>
    <uc4:ucPageTitle ID="ucPageTitle1" runat="server" />
    <asp:UpdatePanel runat="server" ID="updatePanel2">
        <ContentTemplate>
            <table cellpadding="0" cellspacing="3" width="100%">
                <tr>
                    <td align="left" width="90px">
                        Billing Period:&nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlBillPeriod" runat="server" AutoPostBack="True">
                        </asp:DropDownList>
                    </td>
                </tr>
            </table>
            <br>
            <asp:CheckBox ID="chkboxOverwriteData" runat="server" Text="Overwrite existing billing data" />
            <br />
            <br />
            <asp:Button ID="BtnGenerate" runat="server" CssClass="ui-state-default ui-corner-all"
                Text="Generate" Visible="True" onclick="BtnGenerate_Click" />
            <asp:ConfirmButtonExtender ID="BtnGenerate_ConfirmButtonExtender" runat="server"
                ConfirmText="Click OK to gererate billing data" TargetControlID="BtnGenerate">
            </asp:ConfirmButtonExtender>
        </ContentTemplate>
    </asp:UpdatePanel>
    <asp:UpdateProgress ID="updateprogress1" runat="server" AssociatedUpdatePanelID="UpdatePanel2">
        <ProgressTemplate>
            <uc5:ucInProgress ID="ucInProgress1" runat="server" />
        </ProgressTemplate>
    </asp:UpdateProgress>
</asp:Content>
